import axios from 'axios'

axios.defaults.baseURL = "http://127.0.0.1:8888/api/private/v1/";
axios.interceptors.request.use(config => {
    config.headers.Authorization = JSON.parse(window.sessionStorage.getItem('token'))
    return config
})

export default axios